home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 9642 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: newshost.lanl.gov!tanmoy
  2. From: tanmoy@qcd.lanl.gov (Tanmoy Bhattacharya)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: bitfields, how big can their elements be?
  5. Date: 12 Mar 1996 14:51:07 GMT
  6. Organization: Los Alamos National Laboratory
  7. Message-ID: <TANMOY.96Mar12075107@qcd.lanl.gov>
  8. References: <4i2lab$ili@hobbes.cc.uga.edu>
  9. NNTP-Posting-Host: qcd.lanl.gov
  10. Mime-Version: 1.0
  11. Content-Type: text
  12. In-reply-to: greear@pollux.cs.uga.edu's message of 12 Mar 1996 01:51:07 GMT
  13.  
  14. In article <4i2lab$ili@hobbes.cc.uga.edu>
  15. greear@pollux.cs.uga.edu (Ben Greear) writes:
  16.  
  17. BG: 
  18. BG: Ok, i have a question on bitfields....  How big can their members be,
  19.  
  20. Eacm member is valid if its width is smaller than or equal to the
  21. number of bits in an ordinary object of the corresponding type,
  22. i.e. the number of bits in an int. This number may vary from
  23. implementation to implementation, but is guaranteed to be at least 16. 
  24.  
  25. Cheers
  26. Tanmoy
  27. --
  28. tanmoy@qcd.lanl.gov(128.165.23.46) DECNET: BETA::"tanmoy@lanl.gov"(1.218=1242)
  29. Tanmoy Bhattacharya O:T-8(MS B285)LANL,NM87545 H:#9,3000,Trinity Drive,NM87544
  30. Others see <gopher://yaleinfo.yale.edu:7700/00/Internet-People/internet-mail>,
  31. <http://alpha.acast.nova.edu/cgi-bin/inmgq.pl>or<ftp://csd4.csd.uwm.edu/pub/
  32. internetwork-mail-guide>. -- <http://nqcd.lanl.gov/people/tanmoy/tanmoy.html>
  33. fax: 1 (505) 665 3003   voice: 1 (505) 665 4733    [ Home: 1 (505) 662 5596 ]
  34.